home *** CD-ROM | disk | FTP | other *** search
- Path: Inter.NL.net!usenet
- From: Auke.Reitsma@net.HCC.nl (Auke Reitsma)
- Newsgroups: comp.lang.c
- Subject: Re: volatile type
- Date: Wed, 14 Feb 1996 20:46:48 GMT
- Organization: Inter.NL.net, The Internet Provider in The Netherlands.
- Message-ID: <4fthv3$la8@altrade.nijmegen.inter.nl.net>
- References: <4fro3j$jbi@service.polymtl.ca>
- Reply-To: Auke.Reitsma@net.HCC.nl
- NNTP-Posting-Host: rt99-11.rotterdam.nl.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- fermi@info.polymtl.ca (Yannick Heneault) wrote:
-
- > Can someone know information about this data type. A example is
- > welcome!
-
- A volatile item is a thingy that can be modified by other processes. E.g.
- interrupt handlers.
-
- It is essentially a warning to the compiler that its value may be modified
- between successive reads without intervening writes. So the compiler
- should _not_ optimize the later reads away ...
-
-
- Greetings from Delft, The Netherlands.
-
- Auke Reitsma
-
-